
package system.data;

import framework.core.*;
/*
	Author    :Sindy
	CreateTime:2008-01-30 15:18:36
*/
public class InoutTypePageData extends PageData
{

	private String m_id = null;

	private String m_code = null;

	private String m_name = null;

	private String m_display_order = null;

	private String m_inout_type = null;

	private String m_remark = null;

	private String m_create_user_id = null;

	private String m_create_user = null;

	private String m_create_time = null;

	private String m_last_update_user_id = null;

	private String m_last_update_user = null;

	private String m_last_update_time = null;
	

public InoutTypePageData() 
{
	super();
}


	public String getId()
	{
		return m_id;
	}
	public void setId(String v)
	{
		m_id = v;
	}
	

	public String getCode()
	{
		return m_code;
	}
	public void setCode(String v)
	{
		m_code = v;
	}
	

	public String getName()
	{
		return m_name;
	}
	public void setName(String v)
	{
		m_name = v;
	}
	

	public String getDisplayOrder()
	{
		return m_display_order;
	}
	public void setDisplayOrder(String v)
	{
		m_display_order = v;
	}
	

	public String getInoutType()
	{
		return m_inout_type;
	}
	public void setInoutType(String v)
	{
		m_inout_type = v;
	}
	

	public String getRemark()
	{
		return m_remark;
	}
	public void setRemark(String v)
	{
		m_remark = v;
	}
	

	public String getCreateUserId()
	{
		return m_create_user_id;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}
	

	public String getCreateUser()
	{
		return m_create_user;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}
	

	public String getCreateTime()
	{
		return m_create_time;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}
	

	public String getLastUpdateUserId()
	{
		return m_last_update_user_id;
	}
	public void setLastUpdateUserId(String v)
	{
		m_last_update_user_id = v;
	}
	

	public String getLastUpdateUser()
	{
		return m_last_update_user;
	}
	public void setLastUpdateUser(String v)
	{
		m_last_update_user = v;
	}
	

	public String getLastUpdateTime()
	{
		return m_last_update_time;
	}
	public void setLastUpdateTime(String v)
	{
		m_last_update_time = v;
	}
	
	


	public String viewId(DBConnection con) throws Exception
	{
		return Value.view(getId());
	}

	public String viewCode(DBConnection con) throws Exception
	{
		return Value.view(getCode());
	}

	public String viewName(DBConnection con) throws Exception
	{
		return Value.view(getName());
	}

	public String viewDisplayOrder(DBConnection con) throws Exception
	{
		return Value.view(getDisplayOrder());
	}

	public String viewInoutType(DBConnection con) throws Exception
	{
        if(getInoutType().equalsIgnoreCase(ConstDefine.STR_IN)){
            return Value.view(ConstDefine.STR_NAME_IN);
        }else{
            return Value.view(ConstDefine.STR_NAME_OUT);
        }		
	}

	public String viewRemark(DBConnection con) throws Exception
	{
		return Value.view(getRemark());
	}

	public String viewCreateUserId(DBConnection con) throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser(DBConnection con) throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime(DBConnection con) throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateTime());
	}



}
